#define _CRT_SECURE_NO_WARNINGS 1
#include"Queue.h"

void TestQueue1()
{
	Que q1;
	Que* q = &q1;
	QueueInit(q);

	QueuePush(q, 1);
	QueuePush(q, 2);
	QueuePush(q, 3);
	QueuePush(q, 4);
	QueuePush(q, 5);

	while (!QueueEmpty(q))
	{
		printf("%d ", QueueFront(q));
		QueuePop(q);
	}
	printf("\n");

	QueueDestory(q);
}
int main()
{
	TestQueue1();

	return 0;
}